package com.pn.constant;

import java.util.Arrays;
import java.util.List;

/*
  gateway网关常量类:
 */
public interface GatewayConstant {

    //全局过滤器直接放行的url接口的List<String>常量
    public static final List<String> URLS = Arrays.asList("/oauth/token");

    //前端归还token的请求头的常量
    public static final String TOKEN_HEAD = "Authorization";

    //前端归还token的请求头的值的前缀的常量
    public static final String TOKEN_PRE = "bearer ";
}
